<#assign className = table.className>
<#assign classNameFirstLower = table.classNameFirstLower>
<#assign classNameLowerCase = table.classNameLowerCase>
package ${basepackage}.controller;

import javax.servlet.http.HttpServletRequest;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.ModelAndView;

import ${basepackage}.service.${className}Service;
import com.zy.ems.common.base.BaseController;

@RestController
@RequestMapping("/${classNameLowerCase}")
public class ${className}Controller extends BaseController {

    @Autowired
    private ${className}Service ${classNameFirstLower}Service;

}
